﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IBatisNet.DataMapper;

namespace Foundation
{
    public class MyBatisRepository<T> : IRepository<T> where T : class
    {
        public ISqlMapper SqlMapper { get; protected set; }

        public MyBatisRepository(ISqlMapper sqlMapper)
        {
            SqlMapper = sqlMapper;
        }

        public void Insert(T entity)
        {
            throw new NotImplementedException();
        }

        public void Delete(T entity)
        {
            throw new NotImplementedException();
        }

        public IQueryable<T> GetAll()
        {
            throw new NotImplementedException();
        }

        public T GetById(int id)
        {
            throw new NotImplementedException();
        }
    }
}